package com.goodfather.textbook.youdao.pad.network;


/**
 * 头信息管理，在Application中初始化
 */
public class HeaderManage {

    private String channel;

    private String versionName;

    private String packageName;

    private String userName;

    private String sessionToken;

    private String userId;

    private static HeaderManage headerManage;

    private HeaderManage() {
    }

    public static HeaderManage getInstance() {
        if (headerManage == null) {
            headerManage = new HeaderManage();
        }
        return headerManage;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getChannel() {
        return channel;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSessionToken() {
        return sessionToken;
    }

    public void setSessionToken(String sessionToken) {
        this.sessionToken = sessionToken;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
